package chapte11;
class Animal{
}
//dog类继承Anilaml类
class Dog extends Animal{
}
//定义测试类
public class Example007 {
    public static void main(String[] args) {
        Dog dog=new Dog();
    }
}
